import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import VueRouter from './router'
import locale from 'element-plus/es/locale/lang/zh-cn' // 使用内置的中文语言包
import App from './App.vue'

// 创建app
const  app = createApp(App);
// 挂载element-plus
app.use(ElementPlus, { locale })
// 挂载vue-router
app.use(VueRouter);
// 挂载app
app.mount('#app');
